<?php
/**
 * Created by PhpStorm.
 * User: openoter
 * Date: 2018/12/9
 * Time: 21:53
 */

namespace app\admin\validate;


use think\Validate;

class Cls extends Validate {
    protected $rule = [
        ['name','require','请输入班级名'],
        ['head_teacher','require','请输入班主任'],
        ['address','require','请输入签到地'],
        ['sort','integer','排序值为整数'],
    ];
}